package org.linlinjava.litemall.admin.vo.order_manage;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @author wj
 * @date 2021/6/2 9:34
 */
public class PickupGoodsVo {

    /**
     * 订单编号
     */
    @NotBlank(message = "订单编号不能为空")
    private String orderSn;

    /**
     * 订单商品表id
     */
    @Size(min = 1,message = "取货商品不能小于一个")
    private List<Integer> orderGoodsId;

    /**
     * 商品表id
     */
    @Size(min = 1,message = "取货商品不能小于一个")
    private List<Integer> goodsId;

    /**
     * 理由
     */
    private String reason;

    /**
     * 取货方式
     */
    private Integer getGoodsStyle;

    /**
     * 配送员id
     */
    private Integer deliveryManId;

    /**
     * 维护员id
     */
    private Integer maintainManId;

    /**
     * 物流信息
     */
    private String logisticsInfo;

    /**
     * 配送类型
     */
    @NotBlank(message = "配送类型不能为空")
    private String shipDictName;

    /**
     * 物流单号
     */
    private String shipSn;

    /**
     * 发货快递公司
     */
    private String shipChannel;

    public PickupGoodsVo() {
    }

    public PickupGoodsVo( String orderSn, List<Integer> orderGoodsId, List<Integer> goodsId, String reason, Integer getGoodsStyle, Integer deliveryManId, Integer maintainManId, String logisticsInfo, String shipDictName, String shipSn, String shipChannel) {
        this.orderSn = orderSn;
        this.orderGoodsId = orderGoodsId;
        this.goodsId = goodsId;
        this.reason = reason;
        this.getGoodsStyle = getGoodsStyle;
        this.deliveryManId = deliveryManId;
        this.maintainManId = maintainManId;
        this.logisticsInfo = logisticsInfo;
        this.shipDictName = shipDictName;
        this.shipSn = shipSn;
        this.shipChannel = shipChannel;
    }

    public String getOrderSn() {
        return orderSn;
    }

    public void setOrderSn(String orderSn) {
        this.orderSn = orderSn;
    }

    public List<Integer> getOrderGoodsId() {
        return orderGoodsId;
    }

    public void setOrderGoodsId(List<Integer> orderGoodsId) {
        this.orderGoodsId = orderGoodsId;
    }

    public List<Integer> getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(List<Integer> goodsId) {
        this.goodsId = goodsId;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public Integer getGetGoodsStyle() {
        return getGoodsStyle;
    }

    public void setGetGoodsStyle(Integer getGoodsStyle) {
        this.getGoodsStyle = getGoodsStyle;
    }

    public Integer getDeliveryManId() {
        return deliveryManId;
    }

    public void setDeliveryManId(Integer deliveryManId) {
        this.deliveryManId = deliveryManId;
    }

    public Integer getMaintainManId() {
        return maintainManId;
    }

    public void setMaintainManId(Integer maintainManId) {
        this.maintainManId = maintainManId;
    }

    public String getLogisticsInfo() {
        return logisticsInfo;
    }

    public void setLogisticsInfo(String logisticsInfo) {
        this.logisticsInfo = logisticsInfo;
    }

    public String getShipDictName() {
        return shipDictName;
    }

    public void setShipDictName(String shipDictName) {
        this.shipDictName = shipDictName;
    }

    public String getShipSn() {
        return shipSn;
    }

    public void setShipSn(String shipSn) {
        this.shipSn = shipSn;
    }

    public String getShipChannel() {
        return shipChannel;
    }

    public void setShipChannel(String shipChannel) {
        this.shipChannel = shipChannel;
    }
}
